Sketchplanations
(17 actions, 12 KB)
0 URL
https://sketchplanations.com
➔ baseURL
»
6
8
15
1 DataJar > GetValueIntent »
keyPath
:
Text Divider
2 Text »
🔎 What are you looking for?
[1 Value]
💡Tap "Done" to view sketches
3 Ask for Text Input »
4
5
AskActionPrompt
:
[2 Text]
AllowsMultilineText
:
false
4 If
[3 Ask for Input]
has any value
5 URL
Encode
[3 Ask for Input]
»
6 Open URL
[0 baseURL]
/search?q=
[5 URL Encoded Text]
7 Otherwise
8 Get Contents of URL
[0 baseURL]
/categories
»
9 Make HTML from Rich Text
[8 Contents of URL]
»
10 Match Text
<a class="block" href="/categories/(.*?)">
in
[9 HTML from Rich Text]
»
11 Get Match
Group At Index
1 in
[10 Matches]
»
12 Get
Random Item
from List
[11 Text]
»
13 Make Rich Text from HTML
[12 Item from List]
»
14 Run Shortcut
Get Mardown Heading Anchor Text
»
Input
:
[13 Rich Text from HTML]
Workflow
:
{ "workflowIdentifier": "6D49EA2A-0E94-4DFA-9FE5-DD6ABA97B368", "workflowName": "Get Mardown Heading Anchor Text", "isSelf": false }
15 Open URL
[0 baseURL]
/categories/
[14 Shortcut Result]
16 End If ▵
7